<?php defined('IN_PHPCMS') or exit('No permission resources.'); ?><!doctype html>
<html lang="en">
<head>
	<meta charset="UTF-8">
	<title>汉耀首页</title>
	<link rel="stylesheet" href="<?php echo CSS_PATH;?>base.css">
	<?php if(!$catid) { ?>
	<link rel="stylesheet" href="<?php echo CSS_PATH;?>index.css">
	<?php } elseif ($catid==9) { ?>
	<link rel="stylesheet" href="<?php echo CSS_PATH;?>about.css">
	<?php } elseif ($catid==10) { ?>
	<link rel="stylesheet" href="<?php echo CSS_PATH;?>contact.css">
	<?php } ?>
</head>
<body>
	<div class="main box-shadow">
        <div class="header">
            <div class="logo"><a href="#"><img src="<?php echo IMG_PATH;?>img/logo.jpg" alt="logo"></a></div>
            <div class="search">
                <form action="#" method="">
                    <input type="text" value="请输入关键词" onfocus="if(value=='请输入关键词'){value =''}" onblur="if(value==''){value='请输入关键词'}" class="search_text" />
                    <input type="image" src="<?php echo IMG_PATH;?>img/search_btn.jpg" class="search_btn" />
                </form>
            </div>
        </div>
		<?php if(defined('IN_ADMIN')  && !defined('HTML')) {echo "<div class=\"admin_piao\" pc_action=\"content\" data=\"op=content&tag_md5=172d3e742399e5ace943301e16f256b0&action=category&catid=0&num=10&siteid=%24siteid&order=listorder+ASC\"><a href=\"javascript:void(0)\" class=\"admin_piao_edit\">编辑</a>";}$content_tag = pc_base::load_app_class("content_tag", "content");if (method_exists($content_tag, 'category')) {$data = $content_tag->category(array('catid'=>'0','siteid'=>$siteid,'order'=>'listorder ASC','limit'=>'10',));}?> 
        <ul class="nav">
            <li class="nav_first"><a href="<?php echo siteurl($siteid);?>" class="nav01">首页</a></li>
			<?php $n=1;if(is_array($data)) foreach($data AS $r) { ?>
            <li><a href="<?php echo $r['url'];?>" class="nav02"><?php echo $r['catname'];?></a></li>
			<?php $n++;}unset($n); ?>
			
        <!--    <li><a href="product.html" class="nav03">产品中心</a></li>
            <li><a href="news.html" class="nav04">新闻动态</a></li>
            <li><a href="contact.html" class="nav05">联系我们</a></li>
		-->
        </ul>
		<?php if(defined('IN_ADMIN') && !defined('HTML')) {echo '</div>';}?>